package com.justech.eat.mapper.mysql;


import com.justech.eat.entity.OrderDetailAbnormalRecord;

import java.util.List;


public interface OrderDetailAbnormalRecordMapper {
    Integer add(OrderDetailAbnormalRecord orderDetailAbnormalRecord);

    Integer deleteById(long id);

    Integer update(OrderDetailAbnormalRecord orderDetailAbnormalRecord);

    OrderDetailAbnormalRecord queryById(long id);

    List<OrderDetailAbnormalRecord> selectPage(long id);

    List<OrderDetailAbnormalRecord> findAll(OrderDetailAbnormalRecord params);

    /**
     * 查询用户未处理的异常列表
     *
     * @param jobNumber
     * @return
     */
    List<OrderDetailAbnormalRecord> findUnprocessedByJobNumber(String jobNumber);
}
